package me.zhengjie.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: xinglin
 * @CreateTime: 2024-08-14
 * @Description: 寄存器ip信息
 * @Version: 1.0
 */


@Data
@Configuration
@ConfigurationProperties(prefix = "pp-net-config")
public class PPNetConfig {

    @Value("${pp-net-config.PpPLC.ip}")
    private String PpPlCIp;

    @Value("${pp-net-config.PpPLC.port}")
    private Integer PpPlCPort;


    @Value("${pp-net-config.wcs.ip}")
    private String WcsIp;

    @Value("${pp-net-config.wcs.port}")
    private String WcsPort;

    @Value("${pp-net-config.wcs.task-url}")
    private String taskUrl;

    @Value("${pp-net-config.wcs.storage-url}")
    private String storageUrl;

    @Value("${pp-net-config.wcs.device-url}")
    private String DeviceUrl;

    @Value("${pp-net-config.wcs.task-result-url}")
    private String taskRestUrl;

    @Value("${pp-net-config.printer.name}")
    private String printerName;


}
